package com.hl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格类型值对象 spec_values
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public class SpecValues extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格值id，主键自增 */
    private Long specValuesId;

    /** 关联的商品规格类型id */
    @Excel(name = "关联的商品规格类型id")
    private Long specTypesId;

    /** 规格内容（如大杯、小杯等） */
    @Excel(name = "规格内容", readConverterExp = "如=大杯、小杯等")
    private String specValues;

    /** 该规格对应的价格 */
    @Excel(name = "该规格对应的价格")
    private Long specValuesPrice;

    public void setSpecValuesId(Long specValuesId) 
    {
        this.specValuesId = specValuesId;
    }

    public Long getSpecValuesId() 
    {
        return specValuesId;
    }

    public void setSpecTypesId(Long specTypesId) 
    {
        this.specTypesId = specTypesId;
    }

    public Long getSpecTypesId() 
    {
        return specTypesId;
    }

    public void setSpecValues(String specValues) 
    {
        this.specValues = specValues;
    }

    public String getSpecValues() 
    {
        return specValues;
    }

    public void setSpecValuesPrice(Long specValuesPrice) 
    {
        this.specValuesPrice = specValuesPrice;
    }

    public Long getSpecValuesPrice() 
    {
        return specValuesPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("specValuesId", getSpecValuesId())
            .append("specTypesId", getSpecTypesId())
            .append("specValues", getSpecValues())
            .append("specValuesPrice", getSpecValuesPrice())
            .toString();
    }
}
